package flowmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ FlowTaskTypeModel = (*customFlowTaskTypeModel)(nil)

type (
	// FlowTaskTypeModel is an interface to be customized, add more methods here,
	// and implement the added methods in customFlowTaskTypeModel.
	FlowTaskTypeModel interface {
		flowTaskTypeModel
	}

	customFlowTaskTypeModel struct {
		*defaultFlowTaskTypeModel
	}
)

// NewFlowTaskTypeModel returns a model for the database table.
func NewFlowTaskTypeModel(conn sqlx.SqlConn) FlowTaskTypeModel {
	return &customFlowTaskTypeModel{
		defaultFlowTaskTypeModel: newFlowTaskTypeModel(conn),
	}
}
